<html dir="LTR" xmlns:ndoc="urn:ndoc-schema">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>FaultSession Members</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">TestApi 0.3</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">FaultSession Members
					</h1>
      </div>
    </div>
    <div id="nstext">
      <p>
        <a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.html">FaultSession overview</a>
      </p>
      <h4 class="dtH4">Public Static Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.ClearGlobalFault.html">ClearGlobalFault</a></td><td width="50%"> Destroys the global fault session. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.SetGlobalFault.html">SetGlobalFault</a></td><td width="50%"> Sets a global fault session. This enables fault injection for all .NET processes launched after the creation of the global session. This functionality is often useful when testing server .NET applications, where one application typically consists of and launches many processes. </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Constructors</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr VALIGN="top">
            <td width="50%">
              <img src="pubmethod.gif" />
              <a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.~ctor.html">FaultSession Constructor</a>
            </td>
            <td width="50%"> Initializes a new instance of the FaultSession class with the specified FaultRule objects. </td>
          </tr>
        </table>
      </div>
      <h4 class="dtH4">Public Instance Properties</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.LogDirectory.html">LogDirectory</a></td><td width="50%"> Directory for all log files written by applications launched by this session. </td></tr></table>
      </div>
      <h4 class="dtH4">Public Instance Methods</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.FindRule.html">FindRule</a></td><td width="50%"> Finds the rule corresponding to a specified method. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.GetProcessStartInfo.html">GetProcessStartInfo</a></td><td width="50%"> Creates a ProcessStartInfo with the appropriate environment variables set for fault injection. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.NotifyRuleChanges.html">NotifyRuleChanges</a></td><td width="50%"> Notifies all test applications that fault rules have changed. </td></tr></table>
      </div>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="TestApiCore~Microsoft.Test.FaultInjection.FaultSession.html">FaultSession Class</a> | <a href="~Microsoft.Test.FaultInjection.html">Microsoft.Test.FaultInjection Namespace</a></p>
      <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
        <param name="Keyword" value="FaultSession class">
        </param>
        <param name="Keyword" value="Microsoft.Test.FaultInjection.FaultSession class">
        </param>
        <param name="Keyword" value="FaultSession class, all members">
        </param>
      </object>
    </div>
  </body>
</html>